package config

type Config struct {
	Rule     map[string]map[string]interface{}
	RuleName map[string]map[string]interface{}
}

var RuleConfig *Config

func InitConfig() {

	RuleConfig = &Config{}

	RuleConfig.Rule = map[string]map[string]interface{}{
		"意向": {"采购意向": true, "政府采购意向": true, "意向公示": true, "项目意向公示": true},
		"需求": {"需求公示": true, "采购需求公示": true, "项目需求公示": true, "招标需求公示": true, "需求论证公示": true},
	}

	//采购人、采购单位、采购方、采购人名称、采购人信息、采购方名称、采购方信息
	RuleConfig.RuleName = map[string]map[string]interface{}{
		"招标人": {"招标人": true, "招标单位": true, "招标方": true, "招标人名称": true, "联系人": true},
		"采购人": {"采购人": true, "采购单位:": true, "采购方": true, "采购人名称": true, "采购人信息": true, "采购方名称": true, "采购方信息": true, "联系人": true, "电话":true},
   
	}

}
